package edu.cuit.avatar.demo;

import edu.cuit.avatar.inherit.Circle;

/**
 * @author <a href="mailto:1020zhaodan@163.com">Adan</a>
 * @version 1.0
 * @date 2025/7/10 15:01
 */
public class CloneTest {
    public static void main(String[] args) throws CloneNotSupportedException {
        Circle circle = new Circle(5);

        Circle circle1 = circle.clone();
        System.out.println(circle);
        System.out.println(circle1);

        circle1.setColor("blue");

        System.out.println(circle);
        System.out.println(circle1);
    }
}
